<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>msg</title>
    <link rel="stylesheet" th:href="@{/static/layui/css/layui.css}">
</head>
<body>
<h1>msg.html</h1>

<!--    内容-->
<blockquote class="layui-elem-quote" style="margin-top: 30px;">

    <div class="layui-text">
        <ul>
            <li>这里是msg页面,从域对象中的拿到数据</li>
        </ul>
    </div>
    从Request域对象中拿到的数据
    <div class="layui-text">
        <ul>
            <li th:text="${msg_old}"></li>
            <li th:text="${msg_mav}"></li>
            <li th:text="${msg_model}"></li>
            <li th:text="${msg_mp}"></li>
            <li th:text="${msg_map}"></li>
        </ul>
    </div>
    Session域对象中拿到数据
    <div class="layui-text">
        <ul>
            <li th:text="${session.msg_session}" style="color: red">默认的数据</li>
            <li th:text="${application.msg_app}" style="color: blue">默认的数据</li>

        </ul>
    </div>
</blockquote>

<!-- body 末尾处引入 layui -->
<script th:src="@{/static/layui/layui.js}"></script>
</body>
</html>